HTMLify
index.html
Views: 381 | Author: cody
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <title>Cute Merging Letter Toggle</title> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" type="text/css" media="screen" href="style.css" /> </head> <body> <label class="switch"> <input class="switch__input" type="checkbox" role="switch" /> <svg class="switch__letters" viewBox="0 0 24 24" width="24px" height="24px" aria-hidden="true" > <g stroke="currentcolor" stroke-linecap="round" stroke-width="4" transform="translate(0,4)" > <g class="switch__letter"> <polyline class="switch__letter-stroke" points="2 2,2 14" /> <polyline class="switch__letter-stroke" points="2 2,16 2" stroke-dasharray="14 16" stroke-dashoffset="8" transform="rotate(0,2,2)" /> <polyline class="switch__letter-stroke" points="2 8,6 8" stroke-dasharray="4 6" /> </g> <g class="switch__letter" transform="translate(14,0)"> <polyline class="switch__letter-stroke" points="2 2,2 14" /> <polyline class="switch__letter-stroke" points="2 2,8 2" stroke-dasharray="6 8" /> <polyline class="switch__letter-stroke" points="2 8,6 8" stroke-dasharray="4 6" /> </g> </g> </svg> <span class="switch__text">Power</span> </label> </body> </html> |